import Layout from '@/layout'

export default {
  path: '/',
  component: Layout,
  redirect: '/train',
  children: [{
    path: 'train',
    component: () => import('@/views/train/index'),
    children: [{
      path: 'train_notification',
      component: () => import('@/views/train/train_notification/index'),
      name: 'train_notification',
      meta: {
        defaultActive: '/train/train_notification'
      }
    }, {
      path: 'train_new',
      component: () => import('@/views/train/train_new/index'),
      name: 'train_new',
      meta: {
        defaultActive: '/train/train_new'
      }
    }, {
      path: 'train_list_start',
      component: () => import('@/views/train/train_list_start/index'),
      name: 'train_list_start',
      meta: {
        defaultActive: '/train/train_list_start'
      }
    }, {
      path: 'train_list_participant',
      component: () => import('@/views/train/train_list_participant/index'),
      name: 'train_list_participant',
      meta: {
        defaultActive: '/train/train_list_participant'
      }
    }, {
      path: 'train_list_paper',
      component: () => import('@/views/train/train_list_paper/index'),
      name: 'train_list_paper',
      meta: {
        defaultActive: '/train/train_list_paper'
      }
    }, {
      path: 'examination_list_question',
      component: () => import('@/views/train/examination_list_question/index'),
      name: 'examination_list_question',
      meta: {
        defaultActive: '/train/examination_list_question'
      }
    }, {
      path: 'examination_list_paper',
      component: () => import('@/views/train/examination_list_paper/index'),
      name: 'examination_list_paper',
      meta: {
        defaultActive: '/train/examination_list_paper'
      }
    }, {
      path: 'examination_list_record',
      component: () => import('@/views/train/examination_list_record/index'),
      name: 'examination_list_record',
      meta: {
        defaultActive: '/train/examination_list_record'
      }
    }, {
      path: 'learn_list_record',
      component: () => import('@/views/train/learn_list_record/index'),
      name: 'learn_list_record',
      meta: {
        defaultActive: '/train/learn_list_record'
      }
    }, {
      path: 'practice_list_record',
      component: () => import('@/views/train/practice_list_record/index'),
      name: 'practice_list_record',
      meta: {
        defaultActive: '/train/practice_list_record'
      }
    }, {
      path: 'examination_stat',
      component: () => import('@/views/train/examination_stat/index'),
      name: 'examination_stat',
      meta: {
        defaultActive: '/train/examination_stat'
      }
    }, {
      path: 'examination_fixed_paper/:examinationPaperId',
      component: () => import('@/views/train/examination_list_paper/paperEdit/editFixedPaper'),
      name: 'examination_fixed_paper',
      meta: {
        defaultActive: '/train/examination_list_paper'
      }
    },
    {
      path: 'train_list_practical',
      component: () => import('@/views/train/train_list_practical'),
      name: 'train_list_practical',
      meta: {
        defaultActive: '/train/train_list_practical'
      }
    },
    {
      path: 'train_list_record',
      component: () => import('@/views/train/train_list_record'),
      name: 'train_list_record',
      meta: {
        defaultActive: '/train/train_list_manage'
      }
    },
    {
      path: 'train_list_manage',
      component: () => import('@/views/train/train_list_manage'),
      name: 'train_list_manage',
      meta: {
        defaultActive: '/train/train_list_manage'
      }
    },
    {
      path: 'train_record_detail_page',
      component: () => import('@/views/train/examination_list_record/components/RecordDetailPage.vue'),
      name: 'train_record_detail_page',
      meta: {
        defaultActive: '/train/examination_list_record'
      }
    },
    {
      path: 'lean_record_detail_page',
      component: () => import('@/views/train/learn_list_record/components/leanRecordDetailPage.vue'),
      name: 'lean_record_detail_page',
      meta: {
        defaultActive: '/train/learn_list_record'
      }
    },
    {
      path: 'practical_record_detail_page',
      component: () => import('@/views/train/practice_list_record/components/practicalRecordDetailPage.vue'),
      name: 'practical_record_detail_page',
      meta: {
        defaultActive: '/train/practice_list_record'
      }
    }
    ]
  }]
}
